import SelectCurrency from './SelectCurrency.vue';

export function useDialogSelectCurrency() {
    const nuxtApp = useNuxtApp()
    const { t } = nuxtApp.$i18n;
    const {
        open: openDialogSelectCurrency,
        close: closeDialogSelectCurrency,
    } = usePop(SelectCurrency, {}, {
        title: t('selectCurrency'),
        wraperClass: 'currency-select'
    })

    return {
        openDialogSelectCurrency,
        closeDialogSelectCurrency,
    }
}